package com.woniu.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description:
 * @Author: woniu
 * @date: 2023/12/28 10:15
 */
@Builder
@Accessors(chain = true)
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("系统配置表单")
public class SysConfigForm implements Serializable {
    private static final long serialVersionUID = 4609022983345495362L;

    @ApiModelProperty(value = "编辑则需要传入此ID")
    private Integer id;

    /**
     * 红包总金额
     */
    @ApiModelProperty(value = "红包总金额")
    private Integer redEinmalTotalMoney;

    /**
     * 红包个数
     */
    @ApiModelProperty(value = "红包个数")
    private Integer redEinmalNumber;

    /**
     * 0点固定红包个数，按照单个红包最小金额发
     */
    @ApiModelProperty(value = "0点固定红包个数，按照单个红包最小金额发")
    private Integer zeroPointRedNumber;

    /**
     * 单个红包最小金额
     */
    @ApiModelProperty(value = "单个红包最小金额")
    private Double redOneMin;

    /**
     * 单个红包最大金额
     */
    @ApiModelProperty(value = "单个红包最大金额")
    private Double redOneMax;

    /**
     * 最小金额红包的个数
     */
    @ApiModelProperty(value = "最小金额红包的个数")
    private Integer redOneMinNum;

    /**
     * 最大金额红包的个数
     */
    @ApiModelProperty(value = "最大金额红包的个数")
    private Integer redOneMaxNum;

    /**
     * 单个随机红包最小金额
     */
    @ApiModelProperty(value = "单个随机红包最小金额")
    private Double redOneRandomMin;

    /**
     * 单个随机红包最大金额
     */
    @ApiModelProperty(value = "单个随机红包最大金额")
    private Double redOneRandomMax;

    /**
     * 随机红包的个数
     */
    @ApiModelProperty(value = "随机红包的个数")
    private Integer redOneRandomNum;

    /**
     * 随机红包的总金额
     */
    @ApiModelProperty(value = "随机红包的总金额")
    private Integer redOneRandomTotalMoney;

    /**
     * 每天最多派发多少金额
     */
    @ApiModelProperty(value = "每天最多派发多少个红包")
    private Integer redEverydayMaxNum;

    /**
     * 每天最多派发多少总金额红包
     */
    @ApiModelProperty(value = "每天最多派发多少总金额红包")
    private Integer redEverydayMaxMoney;

    /**
     * 多少个新人燃放烟花就派发红包
     */
    @ApiModelProperty(value = "多少个新人燃放烟花就派发红包")
    private Integer newUserNumber;

    /**
     * 规则文案
     */
    @ApiModelProperty(value = "规则文案")
    private String regulationContent;

    @NotBlank(message = "请求出错!")
    private String sign;

}
